   // Config
   var usingXmlLanguages = 1; // allowed xml language files
   var url = "system/languages/zh_cn.xml"; //language file path
   
   // Command or Button
   var txtStartMenu = 'Start';
   var txtBack = 'Back';
   var txtNext = 'Next';
   var txtSave = 'Save';
   var txtClose = 'Close';
   var txtPreferences = 'Preferences';

   // Title Or Attribute
   var txtWait = 'Please wait';
   var txtFinished = 'Finished';
   var txtError = 'Error';
   var txtDesktopBackground = 'Desktop Background';
   var txtShortcuts = 'Shortcuts';
   var txtAutoRunApps = 'Auto Run Apps';
   var txtQuickStartApps = 'Quick Start Apps';
   var txtWindowColorAppearance = 'Window Color And Appearance'; 
   var txtThemesAvailable = 'Themes Available';   
   var txtDefaultThemes = 'Default Themes'
   var txtDefaultWallpapers = 'Default Wallpapers';
   var txtBackgroundColor = 'Background color';
   var txtFontColor = 'Font Color';
   var txtColorPicker = 'Color Picker';
   var txtTaskbarTransparency = 'Taskbar Transparency'; 

   // Description Or Content
   var txtTooltip = '<b>' + txtPreferences + '</b><br />Allows you to modify your desktop';
   var txtSaving = 'Saving your data...';
   var txtSaveComplete = 'Save complete.';
   var txtErrorsEncountered = 'Errors encountered on the server.';
   var txtConnectionLost = 'Lost connection to server.';
   var txtNoTheme = 'No themes to display';
   var txtLoading = 'loading ';
   var txtLoaded = ' loaded.';
   var txtRedirecting = 'Redirecting...';
   var txtHowWallpaperPosition = 'How should the wallpaper be positioned?';
   var txtChooseBGColor = 'Choose a background color';
   var txtChooseFontColor = 'Choose a font color';   
   var txtNoWallpaper = 'No wallpapers to display';   
   var txtShortcutsTip = 'Choose which applications appear in your shortcuts.';
   var txtAutoRunTip = 'Choose which applications open automatically once logged in.';
   var txtQuickStartTip = 'Choose which applications appear in your Quick Start panel.';
   var txtWindowColorAppearanceTip = 'Fine tune window color and style of your windows.';
   var txtWallpaperTip = 'Choose from available wallpapers or colors to decorate you desktop.';
   var txtEmailRequired = 'Your email address is required';
   var txtPassWordRequired = 'Your password is required';
   var txtLoadingWallpaper = 'Loading wallpaper...';
   var txtWallpaperLoaded = 'Wallpaper loaded.';

   if(usingXmlLanguages){
	   var xml = new JKL.ParseXML( url );
	   var data = xml.parse();

	   if(typeof(data) != "undefined"){

		   //Command
		   txtStartMenu = data.Language.Command.txtStartMenu;
		   txtBack = data.Language.Command.txtBack;
		   txtNext = data.Language.Command.txtNext;
		   txtSave = data.Language.Command.txtSave;
		   txtClose = data.Language.Command.txtClose;
		   txtPreferences = data.Language.Command.txtPreferences;

		   //Title
		   txtWait = data.Language.Title.txtWait;
		   txtFinished = data.Language.Title.txtFinished;
		   txtError = data.Language.Title.txtError;
		   txtDesktopBackground = data.Language.Title.txtDesktopBackground;
		   txtShortcuts = data.Language.Title.txtShortcuts;
		   txtAutoRunApps = data.Language.Title.txtAutoRunApps;
		   txtQuickStartApps = data.Language.Title.txtQuickStartApps;
		   txtWindowColorAppearance = data.Language.Title.txtWindowColorAppearance;
		   txtThemesAvailable = data.Language.Title.txtThemesAvailable;
		   txtDefaultThemes = data.Language.Title.txtDefaultThemes;
		   txtDefaultWallpapers = data.Language.Title.txtDefaultWallpapers;
		   txtBackgroundColor = data.Language.Title.txtBackgroundColor;
		   txtFontColor = data.Language.Title.txtFontColor;
		   txtColorPicker = data.Language.Title.txtColorPicker;
		   txtTaskbarTransparency = data.Language.Title.txtTaskbarTransparency;

		   //Description
		   txtTooltip = data.Language.Description.txtTooltip;
		   txtSaving = data.Language.Description.txtSaving;
		   txtSaveComplete = data.Language.Description.txtSaveComplete;
		   txtErrorsEncountered = data.Language.Description.txtErrorsEncountered;
		   txtConnectionLost = data.Language.Description.txtConnectionLost;
		   txtNoTheme = data.Language.Description.txtNoTheme;
		   txtLoading = data.Language.Description.txtLoading;
		   txtLoaded = data.Language.Description.txtLoaded;
		   txtRedirecting = data.Language.Description.txtRedirecting;
		   txtHowWallpaperPosition = data.Language.Description.txtHowWallpaperPosition;
		   txtChooseBGColor = data.Language.Description.txtChooseBGColor;
		   txtChooseFontColor = data.Language.Description.txtChooseFontColor;
		   txtNoWallpaper = data.Language.Description.txtNoWallpaper;
		   txtShortcutsTip = data.Language.Description.txtShortcutsTip;
		   txtAutoRunTip = data.Language.Description.txtAutoRunTip;
		   txtQuickStartTip = data.Language.Description.txtQuickStartTip;
		   txtWindowColorAppearanceTip = data.Language.Description.txtWindowColorAppearanceTip;
		   txtWallpaperTip = data.Language.Description.txtWallpaperTip;
		   txtEmailRequired = data.Language.Description.txtEmailRequired;
		   txtPassWordRequired = data.Language.Description.txtPassWordRequired;
		   txtLoadingWallpaper = data.Language.Description.txtLoadingWallpaper;
		   txtWallpaperLoaded = data.Language.Description.txtWallpaperLoaded;
	   }else{
		    usingXmlLanguages = 0;
			alert('Loading the language file failed.');
	   }
   }